import React, { Component } from 'react'
import './style.less'
import { Link } from 'react-router-dom'
import ImgPhoto from '../../../static/icon/header-photo.png'
import ImgSign from '../../../static/icon/header-sign.png'

export default class IndexHeader extends Component{
  render(){
    return(
      <div className='index-header'>
        <div className='header-photo'>
          <img src={ImgPhoto} alt=''/>
        </div>
        <span>微微晴空</span>
        <div className='header-sign'>
          <Link to='mine/minesign'>
            <img src={ImgSign} alt=''/>
            <p>签到</p>
          </Link>
        </div>
      </div>
    )
  }
}
